package com.campus_information_portal.entity;


import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

/**
 * @author Y-Rainson
 * @create 2018-03-31 23:06
 **/

public class PartyMember {
    private int partyMemberId;
    private Integer partyInfoId;
    private Integer teInfoId;
    private Integer stuInfoId;
    private Integer partyMemberAccount;
    private String partyMemberName;
    private Integer partyMemberType;
    private Integer partyOrganizationNum;
    @JsonSerialize(using = DateJsonType.class)
    private Date applyDate;
    private Integer state;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public int getPartyMemberId() {
        return partyMemberId;
    }

    public void setPartyMemberId(int partyMemberId) {
        this.partyMemberId = partyMemberId;
    }


    public Integer getPartyInfoId() {
        return partyInfoId;
    }

    public void setPartyInfoId(Integer partyInfoId) {
        this.partyInfoId = partyInfoId;
    }


    public Integer getTeInfoId() {
        return teInfoId;
    }

    public void setTeInfoId(Integer teInfoId) {
        this.teInfoId = teInfoId;
    }


    public Integer getStuInfoId() {
        return stuInfoId;
    }

    public void setStuInfoId(Integer stuInfoId) {
        this.stuInfoId = stuInfoId;
    }


    public Integer getPartyMemberAccount() {
        return partyMemberAccount;
    }

    public void setPartyMemberAccount(Integer partyMemberAccount) {
        this.partyMemberAccount = partyMemberAccount;
    }


    public String getPartyMemberName() {
        return partyMemberName;
    }

    public void setPartyMemberName(String partyMemberName) {
        this.partyMemberName = partyMemberName;
    }


    public Integer getPartyMemberType() {
        return partyMemberType;
    }

    public void setPartyMemberType(Integer partyMemberType) {
        this.partyMemberType = partyMemberType;
    }


    public Integer getPartyOrganizationNum() {
        return partyOrganizationNum;
    }

    public void setPartyOrganizationNum(Integer partyOrganizationNum) {
        this.partyOrganizationNum = partyOrganizationNum;
    }


    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public PartyMember() {
    }

    @Override
    public String toString() {
        return "PartyMember{" +
                "partyMemberId=" + partyMemberId +
                ", partyInfoId=" + partyInfoId +
                ", teInfoId=" + teInfoId +
                ", stuInfoId=" + stuInfoId +
                ", partyMemberAccount=" + partyMemberAccount +
                ", partyMemberName='" + partyMemberName + '\'' +
                ", partyMemberType=" + partyMemberType +
                ", partyOrganizationNum=" + partyOrganizationNum +
                ", applyDate=" + applyDate +
                ", state=" + state +
                '}';
    }
}
